package deno1;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: Lenovo
 * Date: 2025-03-25
 * Time: 22:00
 */
public class Main {
    public static void main(String[] args) {
        Dog dog = new Dog();
        dog.swim();//输出：狗游泳
        dog.fly();//输出：狗不会飞但会跳跃
        dog.walk();//输出：狗游泳
    }
}
